package com.stone.crm.domain;

import java.math.BigDecimal;
import com.stone.common.annotation.Excel;
import com.stone.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商机对象 st01_crm_business
 * 
 * @author stone
 * @date 2024-04-25
 */
public class St01_crm_business extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商机编号 */
    private String businessId;

    /** 商机名称 */
    @Excel(name = "商机名称")
    private String businessName;

    /** 商机金额 */
    @Excel(name = "商机金额")
    private BigDecimal money;

    /** 商机阶段;1：初步沟通2：需求确定3：方案报价4：谈判协商5： */
    @Excel(name = "商机阶段;1：初步沟通2：需求确定3：方案报价4：谈判协商5：")
    private String statusId;

    /** 下次联系时间 */
    @Excel(name = "下次联系时间")
    private String nextTime;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String customerId;

    /** 预计成交日期 */
    @Excel(name = "预计成交日期")
    private String dealDate;

    /** 整单折扣 */
    @Excel(name = "整单折扣")
    private BigDecimal discountRate;

    /** 产品总金额 */
    @Excel(name = "产品总金额")
    private BigDecimal totalPrice;

    /** 商机来源;1：独立开发2：来电咨询3：广告宣传4：搜索引擎5：客户介绍6：展会7：招标公告8：其他 */
    @Excel(name = "商机来源;1：独立开发2：来电咨询3：广告宣传4：搜索引擎5：客户介绍6：展会7：招标公告8：其他")
    private String source;

    /** 只读权限 */
    @Excel(name = "只读权限")
    private String roUserId;

    /** 读写权限 */
    @Excel(name = "读写权限")
    private String rwUserId;

    /** 1赢单2输单3无效 */
    @Excel(name = "1赢单2输单3无效")
    private String isEnd;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 负责人ID */
    @Excel(name = "负责人ID")
    private String ownerUserId;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private String updatedTime;

    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setStatusId(String statusId) 
    {
        this.statusId = statusId;
    }

    public String getStatusId() 
    {
        return statusId;
    }
    public void setNextTime(String nextTime) 
    {
        this.nextTime = nextTime;
    }

    public String getNextTime() 
    {
        return nextTime;
    }
    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setDealDate(String dealDate) 
    {
        this.dealDate = dealDate;
    }

    public String getDealDate() 
    {
        return dealDate;
    }
    public void setDiscountRate(BigDecimal discountRate) 
    {
        this.discountRate = discountRate;
    }

    public BigDecimal getDiscountRate() 
    {
        return discountRate;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setRoUserId(String roUserId) 
    {
        this.roUserId = roUserId;
    }

    public String getRoUserId() 
    {
        return roUserId;
    }
    public void setRwUserId(String rwUserId) 
    {
        this.rwUserId = rwUserId;
    }

    public String getRwUserId() 
    {
        return rwUserId;
    }
    public void setIsEnd(String isEnd) 
    {
        this.isEnd = isEnd;
    }

    public String getIsEnd() 
    {
        return isEnd;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setOwnerUserId(String ownerUserId) 
    {
        this.ownerUserId = ownerUserId;
    }

    public String getOwnerUserId() 
    {
        return ownerUserId;
    }
    public void setCreatedTime(String createdTime) 
    {
        this.createdTime = createdTime;
    }

    public String getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(String updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public String getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("businessName", getBusinessName())
            .append("money", getMoney())
            .append("statusId", getStatusId())
            .append("nextTime", getNextTime())
            .append("customerId", getCustomerId())
            .append("dealDate", getDealDate())
            .append("discountRate", getDiscountRate())
            .append("totalPrice", getTotalPrice())
            .append("source", getSource())
            .append("remark", getRemark())
            .append("roUserId", getRoUserId())
            .append("rwUserId", getRwUserId())
            .append("isEnd", getIsEnd())
            .append("createdBy", getCreatedBy())
            .append("ownerUserId", getOwnerUserId())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
